package com.evl.api.ticketCheckStation.service;

import java.util.List;

import com.evl.common.persistence.model.TicketCheckStation;
import com.evl.common.persistence.model.TrainTicket;

public interface ITicketCheckStationService {
	
	/**
	 * 查询检票站点
	 */

	public List<TicketCheckStation> getCheckStations(String ticketId) throws Exception;

	public void checkTicket(String id,String openid);	

	/**
	 * 订单支付成功后，根据车票和车次Id生成对应的检票站点
	 * @param list
	 * @param staId
	 * @throws Exception
	 */
	public void createCheckStations(List<TrainTicket> list,Integer staId) throws Exception;
}
